package com.danciyixue.boot.dcyx.converter;

import org.mapstruct.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.danciyixue.boot.dcyx.model.entity.UserCurrentProgram;
import com.danciyixue.boot.dcyx.model.form.UserCurrentProgramForm;
import com.danciyixue.boot.dcyx.model.vo.UserCurrentProgramVO;

/**
 * 用户当前选择教材项信息对象转换器
 *
 * @author youlaitech
 * @since 2025-06-22 07:38
 */
@Mapper(componentModel = "spring")
public interface UserCurrentProgramConverter{

    UserCurrentProgramForm toForm(UserCurrentProgram entity);

    UserCurrentProgram toEntity(UserCurrentProgramForm formData);

    UserCurrentProgramVO toVO(UserCurrentProgram entity);
}